<!DOCTYPE html>
<html>
  <head>
    <title>主页</title>
    <%- include('./head') %>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel='stylesheet' href='/stylesheets/index.css' />
  </head>
  <body>
  	<div class="nav">
  		 <h1>主页</h1>
  		 
  		 <div class="user">
  		 	 <span> <%= data.user.name %> </span>
  		 	 <span class="signout"> 退出</span>
  		 </div>
  	</div>
    <div class="content">
        <h3>选择聊天的模式</h3>
		<p><a href="/robot">机器人聊天</a></p>
		<p><a href="/hall">大厅聊天</a></p>
	</div>
    <p class="right" >
        	鄂ICP备17010739号-1 ,备案号： 42011502000292
    </p>
  </body>
  <script type="text/javascript" src="/javascripts/jquery.js"> </script>
  <script src="/socket.io/socket.io.js"></script>
  <script type="text/javascript">
  	var userInfo = <%- data.userString %>;
  	
  	

		
  </script>
  <script type="text/javascript" src="/javascripts/index.js"></script>
</html>
